15c49c3ddb9910767c7873ed2a423df3284ddb4b,cdap-data-fabric/src/main/java/co/cask/cdap/data2/transaction/stream/FileStreamAdmin.java,FileStreamAdmin,verifyOwner,#StreamId#String#,870

Before Change


      throw new ConflictException(String.format("The specified %s : '%s' is not the same as existing one. " +
                                                  "The %s of an %s cannot be updated.",
                                                Constants.Security.PRINCIPAL, specifiedOwnerPrincipal,
                                                Constants.Security.PRINCIPAL, streamId.getEntityType()));
    }
  }
}

After Change


      // Not giving existing owner information as it might be unacceptable under some security scenarios
      throw new ConflictException(String.format("%s '%s' already exists and the specified %s '%s' is not the same as " +
                                                  "the existing one. The %s of an entity cannot be changed.",
                                                streamId.getEntityType(), streamId.getStream(),
                                                Constants.Security.PRINCIPAL, specifiedOwnerPrincipal,
                                                Constants.Security.PRINCIPAL));
    }